Skip to content

docs(prd): add PRD 0016 — Attack your own infrastructure, safely, and only your own - #65

Merged
ralyodio merged 1 commit into
masterfrom
docs/prd-0016-pentest-engine
Jul 28, 2026
Merged

docs(prd): add PRD 0016 — Attack your own infrastructure, safely, and only your own#65
ralyodio merged 1 commit into
masterfrom
docs/prd-0016-pentest-engine

Conversation

@ralyodio

Copy link
Copy Markdown
Contributor

Specification for the pentest-engine core module, listed in PRD.md and not yet specified.

Every other module observes. This one ACTS ON A TARGET, which makes authorization and blast radius the whole design problem rather than a section of it.

The value is real — a running application has vulnerabilities emerging from configuration, routing and middleware order that no source analysis reveals, and code-scanner's sast subsystem is explicitly pattern-level and says so.

Three hazards dominate. Testing something you do not own — a typo'd hostname, a shared CDN address, a stale DNS record — is a legal problem, not a bug. Breaking the thing you are testing, by fuzzing an endpoint that sends emails or charges cards, means the security tool caused the outage. And findings without reproducible evidence generate work rather than value.

Hence: an explicit target allowlist with no scan-what-you-find mode, ownership verification re-checked before every run, refusal with NO OVERRIDE FLAG for unverified targets — an override would be used exactly once, by someone in a hurry, against someone else's server — safety profiles defaulting to the safest, and an abort when the target starts returning 5xx.

Spec only — no implementation in this PR.

… only your own

Every other module observes. This one ACTS ON A TARGET, which makes authorization and blast radius the whole design problem rather than a section of it.

The value is real — a running application has vulnerabilities emerging from configuration, routing and middleware order that no source analysis reveals, and code-scanner's sast subsystem is explicitly pattern-level and says so.

Three hazards dominate. Testing something you do not own — a typo'd hostname, a shared CDN address, a stale DNS record — is a legal problem, not a bug. Breaking the thing you are testing, by fuzzing an endpoint that sends emails or charges cards, means the security tool caused the outage. And findings without reproducible evidence generate work rather than value.

Hence: an explicit target allowlist with no scan-what-you-find mode, ownership verification re-checked before every run, refusal with NO OVERRIDE FLAG for unverified targets — an override would be used exactly once, by someone in a hurry, against someone else's server — safety profiles defaulting to the safest, and an abort when the target starts returning 5xx.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@ralyodio
ralyodio merged commit 26dd98d into master Jul 28, 2026
5 checks passed
@ralyodio
ralyodio deleted the docs/prd-0016-pentest-engine branch July 28, 2026 17:46
@github-actions

Copy link
Copy Markdown

vu1nz Security Review

0 finding(s) in PR #?

No security issues found.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant